package com.czxy.tanhua.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 设置表
 * </p>
 *
 * @author 爱吃豆的土豆
 * @since 2023-03-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tb_settings")
public class Settings implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("user_id")
    private Long userId;

    /**
     * 推送喜欢通知
     */
    @TableField("like_notification")
    private Integer likeNotification;

    /**
     * 推送评论通知
     */
    @TableField("pinglun_notification")
    private Integer pinglunNotification;

    /**
     * 推送公告通知
     */
    @TableField("gonggao_notification")
    private Integer gonggaoNotification;

    @TableField("created")
    private LocalDateTime created;

    @TableField("updated")
    private LocalDateTime updated;


}
